﻿@model List<KM.ENT.entKhuyenMai>
@using CORE
<ul class="listdeal">
    @{
        var phamtram = "";
    }
    @foreach (var item in Model)
    {
        phamtram = Utils.PhanTram(item.GiaKM, item.GiaNiemYet);
        <li>
            <div class="list-product">
                <div class="img">
                    <a href="@item.Link">
                        <img width="303" height="303" alt="@item.TieuDe" src="@item.ImageSmall">
                    </a>
                </div>
                <a href="@item.Link">
                    <h4>@item.TieuDe</h4>
                </a>
                <div>
                    <span class="price-new">@Utils.FormatPrice(item.GiaKM)</span> <span class="price-old">@Utils.FormatPrice(item.GiaNiemYet)</span>
                </div>
                <div class="sale">@phamtram%</div>
            </div>
        </li>
    }

</ul>